package com.xiguanlezz.cn.client.codec;

import io.netty.handler.codec.LengthFieldBasedFrameDecoder;

/**
 * @Author：习惯了种种
 * @CreateDate：2024/10/17 14:20
 * @Description：解决TCP沾包和拆包的解码器
 */
public class OrderFrameDecoder extends LengthFieldBasedFrameDecoder {
    public OrderFrameDecoder() {
        super(Integer.MAX_VALUE, 0, 2, 0, 2);
    }
}
